
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

    <table align="center" width="80%" border="1px" bgcolor="#90ee90">
        <tr>
            <td>id</td>
            <td>工程名称</td>
            <td>开始时间</td>
            <td>结束时间</td>
            <td>开发商名称</td>
            <td>承建商名称</td>
        </tr>

        <%--c标签循环遍历--%>
        <c:forEach items="${projects}" var="project" >
            <tr>
                <td>${project.pid}</td>
                <td>${project.pname}</td>
                <td>${project.starttime}</td>
                <td>${project.endtime}</td>
                <td>开发商名称</td>
                <td>承建商名称</td>
            </tr>
        </c:forEach>



    </table>

</body>
</html>
